Name :String left truncation
Symbol :LEFT
Illustrate:
Outputs L characters to the left of the input string.
Image:
Parameter:
| Parameter | Statement | Type | Description |
|---|---|---|---|
| IN | Input | STRING | Enter a string |
| L | Input | USINT | Number of characters |
| OUT | Output | STRING | Output string |
Example:
LD:
ST:
Interpretation:
| parameter | operand | value |
|---|---|---|
| IN | TagIn | Enter a value:’abcdefg’ |
| L | TagLen | length:3 |
| OUT | TagOut | Output value:’abc’ |
IN inputs string type data, L inputs truncated length, and OUT outputs truncated strings.